﻿function keepSessionAlive() {
    var oFrame=document.createElement("iframe");
    oFrame.setAttribute('height', '0');
    oFrame.setAttribute('width', '0');
    oFrame.setAttribute('src', '/admin/RefreshSessionState.aspx');
    oFrame.setAttribute('frameborder', '0');
    document.body.appendChild(oFrame);
}

window.onload=keepSessionAlive;